package hcn.protocol.registration.xml.resp;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * @Description: 检查类型返回
 * @Author: zhaorb
 * @Date: 2020/6/4 15:34
 **/
@XmlRootElement(name = "Data")
public class OrganizionXmlResponse implements Serializable {


    private List<Organization> organizationList;

    @XmlElementWrapper(name = "ExamExecuteOrgs")
    @XmlElement(name = "ExamExecuteOrg")
    public List<Organization> getOrganizationList() {
        return organizationList;
    }

    public void setOrganizationList(List<Organization> organizationList) {
        this.organizationList = organizationList;
    }

    @XmlRootElement(name = "ExamExecuteOrg")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Organization{

        private String ExamExecuteOrgId;
        private String ExamExecuteOrgName;

        public String getExamExecuteOrgId() {
            return ExamExecuteOrgId;
        }

        public void setExamExecuteOrgId(String examExecuteOrgId) {
            ExamExecuteOrgId = examExecuteOrgId;
        }

        public String getExamExecuteOrgName() {
            return ExamExecuteOrgName;
        }

        public void setExamExecuteOrgName(String examExecuteOrgName) {
            ExamExecuteOrgName = examExecuteOrgName;
        }
    }

}
